<if condition="count($data['production']) neq 0">
    <div id="productSlider" class="product-slider eui-slider slide" data-ride="slider">
        <?php
          $bannerSize = count($data['production']);
          ?>
        <div class="eui-slider-inner">
            <for start="0" end="$bannerSize">
                <div class="item <if condition="$i eq 0">active</if>">
            <img class="product-img" src="{$data['production'][$i]['product_img']}">
            <div class="product-name">{$data['production'][$i]['product_name']}</div>
            <div class="product-desc">{$data['production'][$i]['product_intro']}</div>
            </div>
            </for>
        </div>
        <!-- Controls -->
        <a class="tc-slider-left" href="#productSlider" role="button" data-slide="prev"><i class="icon icon-left"></i></a>
        <a class="tc-slider-right" href="#productSlider" role="button" data-slide="next"><i class="icon icon-right"></i></a>

    </div>
</if>
